package com.njym.java.security.app.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;


/**
 * 
 * 
 * @author lijie
 * @email 717057076@qq.com
 * @date 2019-12-18 15:37:52
 */
@Table(name = "family_type")
public class FamilyType implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //
    @Id
    private Integer id;
	
	    //家庭名称
    @Column(name = "family_name")
    private String familyName;
	
	    //逻辑删除
    @Column(name = "deleted")
    private Integer deleted;
	
	    //家庭标题图片
    @Column(name = "url")
    private String url;
	
	    //用户ID
    @Column(name = "user_id")
    private Integer userId;

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：家庭名称
	 */
	public void setFamilyName(String familyName) {
		this.familyName = familyName;
	}
	/**
	 * 获取：家庭名称
	 */
	public String getFamilyName() {
		return familyName;
	}
	/**
	 * 设置：逻辑删除
	 */
	public void setDeleted(Integer deleted) {
		this.deleted = deleted;
	}
	/**
	 * 获取：逻辑删除
	 */
	public Integer getDeleted() {
		return deleted;
	}
	/**
	 * 设置：家庭标题图片
	 */
	public void setUrl(String url) {
		this.url = url;
	}
	/**
	 * 获取：家庭标题图片
	 */
	public String getUrl() {
		return url;
	}
	/**
	 * 设置：用户ID
	 */
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	/**
	 * 获取：用户ID
	 */
	public Integer getUserId() {
		return userId;
	}

}
